/**
 * Created Date: Thursday, April 6th 2023, 11:55:26 pm
 * Author: CodingGorit
 * -----
 * Last Modified: Sat Apr 08 2023
 * Modified By: CodingGorit
 * -----
 * Copyright © 2019 —— 2023 fmin-courses All Rights Reserved
 * ------------------------------------
 * Javascript will save your soul!
 */

import type { App } from 'vue';
// import { Button,
//     Form,
//     FormItem,
//     FormItemRest,
//     Input,
//     message
// } from 'ant-design-vue';
import AntD from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css'

// const antdList = [
//     Button,
//     Form,
//     Input,
//     FormItemRest
// ];

/**
 * register Antd UI
 * @param app 
 */
export const setupAntd = (app: App<Element>) => {
    // antdList.forEach((item) => {
    //     app.use(item);
    // });
    // app.config.globalProperties.$message = message;
    app.use(AntD);
}
